package com.dhb.base.criteria;




import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class ShoppingCartCriteria implements Serializable{
	private static final long serialVersionUID = 1L;
	private Long id;
	private Long memberId;
	private Long productId;
	private Long dealerId;

	//优惠券id key
	//优惠券金额 value
	private Map<String,String> couponInfo;


	private String productName;
	private String skuCode;
	private String productProps;
	private BigDecimal productPrice;
	private Integer productNum;
	private BigDecimal rate;
	private BigDecimal rebate;
	private Long promotionRuleId;
	private BigDecimal offerMoney;
	private Integer productType;
	private Integer isDelete;
	private Date createDate;
	private Date updateDate;
	private Integer payType;
	private Long priceId;

	private BigDecimal promotionTotle;

	private BigDecimal sharePrice;


	/**
	 * 报关数量
	 */
	private Integer declareNum;

	/**
	 * 添加返回给app端的赠品和规则数据
	 * */
//	private List<ProductResult> donations;
	private List<PromotionRuleCriteria> promotionRule;


	public BigDecimal getPromotionTotle() {
		return promotionTotle;
	}

	public void setPromotionTotle(BigDecimal promotionTotle) {
		this.promotionTotle = promotionTotle;
	}

	public Map<String, String> getCouponInfo() {
		return couponInfo;
	}

	public void setCouponInfo(Map<String, String> couponInfo) {
		this.couponInfo = couponInfo;
	}

	public Integer getDeclareNum() {
		return declareNum;
	}

	public void setDeclareNum(Integer declareNum) {
		this.declareNum = declareNum;
	}

	public Long getDealerId() {
		return dealerId;
	}
	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}
	//冗余的产品图
	private String mainImg;
	
	//赠品信息
	private List<DonationProductCriteria> donationData;

	private List<DonationProductCriteria> giftList;


	public BigDecimal getSharePrice() {
		return sharePrice;
	}

	public void setSharePrice(BigDecimal sharePrice) {
		this.sharePrice = sharePrice;
	}

	/**
	 * 库存
	 * */
	private Integer inventory;

	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

//	public List<ProductResult> getDonations() {
//		return donations;
//	}
//
//	public void setDonations(List<ProductResult> donations) {
//		this.donations = donations;
//	}
//
	public List<PromotionRuleCriteria> getPromotionRule() {
		return promotionRule;
	}

	public void setPromotionRule(List<PromotionRuleCriteria> promotionRule) {
		this.promotionRule = promotionRule;
	}

	public List<DonationProductCriteria> getDonationData() {
		return donationData;
	}

	public void setDonationData(List<DonationProductCriteria> donationData) {
		this.donationData = donationData;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	public String getMainImg() {
		return mainImg;
	}
	public void setMainImg(String mainImg) {
		this.mainImg = mainImg;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getSkuCode() {
		return skuCode;
	}
	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}
	public String getProductProps() {
		return productProps;
	}
	public void setProductProps(String productProps) {
		this.productProps = productProps;
	}
	public BigDecimal getProductPrice() {
		return productPrice;
	}
	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}
	
	public Long getPromotionRuleId() {
		return promotionRuleId;
	}
	public void setPromotionRuleId(Long promotionRuleId) {
		this.promotionRuleId = promotionRuleId;
	}
	public BigDecimal getOfferMoney() {
		return offerMoney;
	}
	public void setOfferMoney(BigDecimal offerMoney) {
		this.offerMoney = offerMoney;
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Integer getProductNum() {
		return productNum;
	}
	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}
	public Integer getProductType() {
		return productType;
	}
	public void setProductType(Integer productType) {
		this.productType = productType;
	}
	public Integer getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	public Integer getPayType() {
		return payType;
	}
	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public BigDecimal getRebate() {
		return rebate;
	}

	public void setRebate(BigDecimal rebate) {
		this.rebate = rebate;
	}

	public Long getPriceId() {
		return priceId;
	}

	public void setPriceId(Long priceId) {
		this.priceId = priceId;
	}

	public List<DonationProductCriteria> getGiftList() {
		return giftList;
	}

	public void setGiftList(List<DonationProductCriteria> giftList) {
		this.giftList = giftList;
	}
}
